package service

import (
	"gorm.io/gorm"
	"tdy-backend/app/member/model"
)

type BaseService struct {
	DB         *gorm.DB
	MemberInfo *model.Member
}

func (o *BaseService) MakeORM(db *gorm.DB) *BaseService {
	o.DB = db
	return o
}
func (o *BaseService) MakeMemberInfo(memberInfo *model.Member) *BaseService {
	o.MemberInfo = memberInfo
	return o
}
